package com.car.service;

import com.car.entity.Image;
import java.util.List;

public interface ImageService{
    int deleteByPrimaryKey(Integer photoId);

    int insert(Image record);

    Image selectByPrimaryKey(Integer photoId);

    List<Image> selectAll();

    int updateByPrimaryKey(Image record);
    
    List<Image> selectToUserimgId(int photoId);
}